<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<%@ include file="/commons/meta.jsp" %>
   	<link href="<c:url value="/widgets/simpletable/simpletable.css"/>" type="text/css" rel="stylesheet">
   	<link href="${ctx }/styles/css_uax.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<c:url value="/widgets/simpletable/simpletable.js"/>"></script>
</head>

<body> 

<%@include file="/commons/top.jsp" %>
  	<div id="sub-header" class="twidth">
  	<div id="navsub">
		<div class="l"></div>
		<div class="r"></div>
		<div class="m">
		<div style="width:600px;float:left;">
			<a href="${ctx}">首页</a> → <a href="">我发布的信息</a>
		</div>
		</div>
	</div>

<table>
<tr>
<td style="vertical-align:top">
	<%@ include file="/front/Members/memberLeft.jsp" %>
</td>
<td>
<div id="middle">
<div id="directory" class="mframe mR" style="width:724px;float:left;">
      <!-- Content -->
	  <div id="page" class="box">
	  <c:if test="${page.totalCount>0}">
		<ol class="results" style="padding-left: 10"> 
		 <c:forEach items="${page.result}" var="item" varStatus="status">
		 
          <div class="mframe mR">
			<div class="tl"></div>
			<div class="tr"></div>
			<div class="tm">
				<span class="tt"><a target="_blank" class="title" href="${ctx}/PublishInfo/show.do?publishInfoId=${item.publishInfoId}"> ${item.name} </a></span>
			</div>
			<div class="wrapper">
			<div class="ml"></div>
			<div class="mr"></div>
			<div class="mm">
					 
		 	<p>
		 	<a target="_blank" class="title" href="${ctx}/PublishInfo/show.do?publishInfoId=${item.publishInfoId}">
			${item.category.categoryName} - ${item.name}</a>
			<a  target="_blank" href="${ctx}/PublishInfo/list.do?categoryId=${item.categoryId}" class="addr">${item.cityTwo}</a>
			-<a target="_blank" href="${ctx}/PublishInfo/list.do?cityId=${item.cityId}&categoryId=${item.categoryId}" class="addr">${item.cityThree}</a>
			</p>
			 <p>
				<span class="nonhigh">个人说明：</span><span style="color:#000000">${item.profile}</span>
			 </p>
			 <p>
				<span style="color:#000000;line-height: 120%">服务区域：</span> <span style="color:#24d">${item.serviceArea}</span>
			 </p>
			
			<p>状态：   <c:if test="${item.status == 0}">待审核</c:if>
					  <c:if test="${item.status == 1}">审核通过</c:if>
					  <c:if test="${item.status == 2}">审核失败</c:if>
					  <c:if test="${item.status == 3}">已关闭</c:if>
			</p>
			
			 
			 </div>
			</div>
			<div class="bl"></div>
			<div class="br"></div>
			<div class="bm"></div>
		</div>
		
		  
		 </c:forEach>
		</ol>
		</c:if>
		<simpletable:pageToolbar page="${page}"  isShowPageSizeList="false">
		</simpletable:pageToolbar>
	  </div>
    </div>
	
  	</div>
</td>
</tr>
</table>
	
	
	
  	<jsp:include page="/commons/bottom.html"  flush="true"></jsp:include>
  </div>
  
<script>
	
	new Validation(document.forms[0],{onSubmit:true,onFormValidate : function(result,form) {
		var finalResult = result;
		
		//在这里添加自定义验证
		
		return disableSubmit(finalResult,'submitButton');
	}});
</script>
<script>
  	document.getElementById("indexPage").className="thisclass";
  </script>
</body>
</html>